{extends file="layout.html"} {load_language_text section="stats_products_purchased" name="productsPurchased"} {load_language_text section="stats_products_viewed" name="productsViewed"} {block name="layout_content_header_container"}
{block name="layout_content_header_title"} {if isset($pageTitle)}

## {$pageTitle}

{elseif isset($page_title)}

## {$page_title}

{/if} {/block} {block name="layout_content_navigation"}
{/block}
{/block} {block name="content"}

{$adminGeneral.table_column_product} | {$adminGeneral.table_column_category} | {$adminGeneral.table_column_purchased}
--- | --- | ---

{if $sold_products|count > 0} {foreach item=product from=$sold_products}
{if $product.productId > 0} {$product.productName} {else} {$product.productName} {/if} | {$product.categoryName} | {$product.orderCount}
{/foreach} {else}
{$productsPurchased.TEXT_NO_RESULT}.
{/if}

{/block}